﻿'Digite o NameSpace: Babok
'Digite o nome da Classe de dominio: ItemUI

'--TESTE:-----------
'    <TestMethod()> _
'    Public Sub SalvarItemUI()
'        Dim _ItemUI As ItemUI
'        _ItemUI = New ItemUI
'
'        _ItemUI.Salvar()
'
'        Assert.IsTrue(_ItemUI.Id.HasValue)
'    End Sub
<Serializable()> _
Public Class ItemUI
    Inherits BaseDominio

#Region "Negocio"

    Public Sub New()
        MyBase.New()
    End Sub

    Public Overridable Function Buscar(ByVal _id As Long) As ItemUI
        Return MyBase.ItemUIDao.Buscar(_id)
    End Function

    Public Overridable Sub Salvar()
        MyBase.ItemUIDao.Salvar(Me)
    End Sub

#End Region

End Class
